package com.tanhua.dubbo.api;

import com.tanhua.domain.mongo.Answer;
import com.tanhua.domain.mongo.Soul;
import com.tanhua.domain.mongo.UserConclusion;

import java.util.List;

public interface SoulApi {

    //测灵魂-问卷列表
    List<Soul> findAllSoul();

    //测灵魂-提交问卷
    void save(Answer answer,Long userId);

    Soul find(String questionId);

    List<Answer> findByIdToAnswer(Long userId, String id);

    List<Long> queryUserIdByConclusion(String conclusions);

    //添加用户性格
    public void saveUserConclusion(UserConclusion userConclusion);

    //删除用户答案表
    void remove(String question,Long userId) ;

    //查询用户性格
    public String findUserConclusions(Long userId);

}
